#{extends 'main.html' /} #{set title:'Home' /}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<form name=Post action="@{Comments.commentPosted()}" method="POST">
	 
	 	<div class="content">
			<div class="row">
				<div class="left">Title*</div>
				<div class="right">
					<input type="text" name="Title" size='25' value = ${draft.subject} required>
				</div>
				<div class="clear"></div>
			</div>
			
			<div class="row">
				<div class="left">Body*</div>
				<div class="right">
					<td><textarea rows="10" cols="25" name="body" required>${draft.body}
					</textarea>
				</div>
				<div class="clear"></div>
			</div>
			<input type="submit" name="Post" value="Post Comment to Idea" />
	
	</form>
</body>
</html>